Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_GetFallOff

You can use the Q3SpotLight_GetFallOff function to get the fall-off value of a spot light.

TQ3Status Q3SpotLight_GetFallOff (
TQ3LightObject light, 
TQ3FallOffType *fallOff);
light
A spot light object.
fallOff
On exit, the fall-off value of the specified spot light. See "Light Fall-Off Values" on page 8-10 for a description of the constants that can be returned in this parameter.
DESCRIPTION
The Q3SpotLight_GetFallOff function returns, in the fallOff parameter, the current fall-off value of the spot light specified by the light parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996